/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.pod.hoteishilton.dao;

import edu.pod.hoteishilton.model.Hotel;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashMap;

/**
 *
 * @author thiagotigaz
 */
public interface IDAOHotel extends Remote {

    public HashMap getHoteis() throws RemoteException;

    public Hotel getHotel(String apelido) throws RemoteException;

    public HashMap getReservas(String apelido) throws RemoteException;

    public void persist(Hotel hotel) throws RemoteException;

    public void merge(Hotel hotel) throws RemoteException;
}
